// default package
// Generated 28 Jul, 2014 8:04:07 PM by Hibernate Tools 3.4.0.CR1
package com.galaxy.bean;

import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * EavEntityType generated by hbm2java
 */
@Entity
@Table(name = "eav_entity_type", catalog = "magento")
public class EavEntityType implements java.io.Serializable 
{
	private static final long serialVersionUID = 121323L;

	private Short entityTypeId;
	private String entityTypeCode;
	private String entityModel;
	private String attributeModel;
	private String entityTable;
	private String valueTablePrefix;
	private String entityIdField;
	private short isDataSharing;
	private String dataSharingKey;
	private short defaultAttributeSetId;
	private String incrementModel;
	private short incrementPerStore;
	private short incrementPadLength;
	private String incrementPadChar;
	private String additionalAttributeTable;
	private String entityAttributeCollection;
	private Set eavFormTypes = new HashSet(0);
	private Set eavEntityDecimals = new HashSet(0);
	private Set customerEntityVarchars = new HashSet(0);
	private Set customerAddressEntityDatetimes = new HashSet(0);
	private Set eavAttributeSets = new HashSet(0);
	private Set customerEntityTexts = new HashSet(0);
	private Set customerEntityDatetimes = new HashSet(0);
	private Set customerEntityInts = new HashSet(0);
	private Set eavEntities = new HashSet(0);
	private Set catalogProductEntities = new HashSet(0);
	private Set eavEntityDatetimes = new HashSet(0);
	private Set customerAddressEntityInts = new HashSet(0);
	private Set eavEntityTexts = new HashSet(0);
	private Set customerEntityDecimals = new HashSet(0);
	private Set eavAttributes = new HashSet(0);
	private Set eavEntityStores = new HashSet(0);
	private Set eavEntityVarchars = new HashSet(0);
	private Set customerAddressEntityVarchars = new HashSet(0);
	private Set eavEntityInts = new HashSet(0);
	private Set customerAddressEntityDecimals = new HashSet(0);
	private Set customerAddressEntityTexts = new HashSet(0);

	public EavEntityType() {
	}

	public EavEntityType(String entityTypeCode, String entityModel,
			short isDataSharing, short defaultAttributeSetId,
			short incrementPerStore, short incrementPadLength,
			String incrementPadChar) {
		this.entityTypeCode = entityTypeCode;
		this.entityModel = entityModel;
		this.isDataSharing = isDataSharing;
		this.defaultAttributeSetId = defaultAttributeSetId;
		this.incrementPerStore = incrementPerStore;
		this.incrementPadLength = incrementPadLength;
		this.incrementPadChar = incrementPadChar;
	}

	public EavEntityType(String entityTypeCode, String entityModel,
			String attributeModel, String entityTable, String valueTablePrefix,
			String entityIdField, short isDataSharing, String dataSharingKey,
			short defaultAttributeSetId, String incrementModel,
			short incrementPerStore, short incrementPadLength,
			String incrementPadChar, String additionalAttributeTable,
			String entityAttributeCollection, Set eavFormTypes,
			Set eavEntityDecimals, Set customerEntityVarchars,
			Set customerAddressEntityDatetimes, Set eavAttributeSets,
			Set customerEntityTexts, Set customerEntityDatetimes,
			Set customerEntityInts, Set eavEntities,
			Set catalogProductEntities, Set eavEntityDatetimes,
			Set customerAddressEntityInts, Set eavEntityTexts,
			Set customerEntityDecimals, Set eavAttributes, Set eavEntityStores,
			Set eavEntityVarchars, Set customerAddressEntityVarchars,
			Set eavEntityInts, Set customerAddressEntityDecimals,
			Set customerAddressEntityTexts) {
		this.entityTypeCode = entityTypeCode;
		this.entityModel = entityModel;
		this.attributeModel = attributeModel;
		this.entityTable = entityTable;
		this.valueTablePrefix = valueTablePrefix;
		this.entityIdField = entityIdField;
		this.isDataSharing = isDataSharing;
		this.dataSharingKey = dataSharingKey;
		this.defaultAttributeSetId = defaultAttributeSetId;
		this.incrementModel = incrementModel;
		this.incrementPerStore = incrementPerStore;
		this.incrementPadLength = incrementPadLength;
		this.incrementPadChar = incrementPadChar;
		this.additionalAttributeTable = additionalAttributeTable;
		this.entityAttributeCollection = entityAttributeCollection;
		this.eavFormTypes = eavFormTypes;
		this.eavEntityDecimals = eavEntityDecimals;
		this.customerEntityVarchars = customerEntityVarchars;
		this.customerAddressEntityDatetimes = customerAddressEntityDatetimes;
		this.eavAttributeSets = eavAttributeSets;
		this.customerEntityTexts = customerEntityTexts;
		this.customerEntityDatetimes = customerEntityDatetimes;
		this.customerEntityInts = customerEntityInts;
		this.eavEntities = eavEntities;
		this.catalogProductEntities = catalogProductEntities;
		this.eavEntityDatetimes = eavEntityDatetimes;
		this.customerAddressEntityInts = customerAddressEntityInts;
		this.eavEntityTexts = eavEntityTexts;
		this.customerEntityDecimals = customerEntityDecimals;
		this.eavAttributes = eavAttributes;
		this.eavEntityStores = eavEntityStores;
		this.eavEntityVarchars = eavEntityVarchars;
		this.customerAddressEntityVarchars = customerAddressEntityVarchars;
		this.eavEntityInts = eavEntityInts;
		this.customerAddressEntityDecimals = customerAddressEntityDecimals;
		this.customerAddressEntityTexts = customerAddressEntityTexts;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "entity_type_id", unique = true, nullable = false)
	public Short getEntityTypeId() {
		return this.entityTypeId;
	}

	public void setEntityTypeId(Short entityTypeId) {
		this.entityTypeId = entityTypeId;
	}

	@Column(name = "entity_type_code", nullable = false, length = 50)
	public String getEntityTypeCode() {
		return this.entityTypeCode;
	}

	public void setEntityTypeCode(String entityTypeCode) {
		this.entityTypeCode = entityTypeCode;
	}

	@Column(name = "entity_model", nullable = false)
	public String getEntityModel() {
		return this.entityModel;
	}

	public void setEntityModel(String entityModel) {
		this.entityModel = entityModel;
	}

	@Column(name = "attribute_model")
	public String getAttributeModel() {
		return this.attributeModel;
	}

	public void setAttributeModel(String attributeModel) {
		this.attributeModel = attributeModel;
	}

	@Column(name = "entity_table")
	public String getEntityTable() {
		return this.entityTable;
	}

	public void setEntityTable(String entityTable) {
		this.entityTable = entityTable;
	}

	@Column(name = "value_table_prefix")
	public String getValueTablePrefix() {
		return this.valueTablePrefix;
	}

	public void setValueTablePrefix(String valueTablePrefix) {
		this.valueTablePrefix = valueTablePrefix;
	}

	@Column(name = "entity_id_field")
	public String getEntityIdField() {
		return this.entityIdField;
	}

	public void setEntityIdField(String entityIdField) {
		this.entityIdField = entityIdField;
	}

	@Column(name = "is_data_sharing", nullable = false)
	public short getIsDataSharing() {
		return this.isDataSharing;
	}

	public void setIsDataSharing(short isDataSharing) {
		this.isDataSharing = isDataSharing;
	}

	@Column(name = "data_sharing_key", length = 100)
	public String getDataSharingKey() {
		return this.dataSharingKey;
	}

	public void setDataSharingKey(String dataSharingKey) {
		this.dataSharingKey = dataSharingKey;
	}

	@Column(name = "default_attribute_set_id", nullable = false)
	public short getDefaultAttributeSetId() {
		return this.defaultAttributeSetId;
	}

	public void setDefaultAttributeSetId(short defaultAttributeSetId) {
		this.defaultAttributeSetId = defaultAttributeSetId;
	}

	@Column(name = "increment_model")
	public String getIncrementModel() {
		return this.incrementModel;
	}

	public void setIncrementModel(String incrementModel) {
		this.incrementModel = incrementModel;
	}

	@Column(name = "increment_per_store", nullable = false)
	public short getIncrementPerStore() {
		return this.incrementPerStore;
	}

	public void setIncrementPerStore(short incrementPerStore) {
		this.incrementPerStore = incrementPerStore;
	}

	@Column(name = "increment_pad_length", nullable = false)
	public short getIncrementPadLength() {
		return this.incrementPadLength;
	}

	public void setIncrementPadLength(short incrementPadLength) {
		this.incrementPadLength = incrementPadLength;
	}

	@Column(name = "increment_pad_char", nullable = false, length = 1)
	public String getIncrementPadChar() {
		return this.incrementPadChar;
	}

	public void setIncrementPadChar(String incrementPadChar) {
		this.incrementPadChar = incrementPadChar;
	}

	@Column(name = "additional_attribute_table")
	public String getAdditionalAttributeTable() {
		return this.additionalAttributeTable;
	}

	public void setAdditionalAttributeTable(String additionalAttributeTable) {
		this.additionalAttributeTable = additionalAttributeTable;
	}

	@Column(name = "entity_attribute_collection")
	public String getEntityAttributeCollection() {
		return this.entityAttributeCollection;
	}

	public void setEntityAttributeCollection(String entityAttributeCollection) {
		this.entityAttributeCollection = entityAttributeCollection;
	}

	@ManyToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityTypes")
	public Set getEavFormTypes() {
		return this.eavFormTypes;
	}

	public void setEavFormTypes(Set eavFormTypes) {
		this.eavFormTypes = eavFormTypes;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getEavEntityDecimals() {
		return this.eavEntityDecimals;
	}

	public void setEavEntityDecimals(Set eavEntityDecimals) {
		this.eavEntityDecimals = eavEntityDecimals;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getCustomerEntityVarchars() {
		return this.customerEntityVarchars;
	}

	public void setCustomerEntityVarchars(Set customerEntityVarchars) {
		this.customerEntityVarchars = customerEntityVarchars;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getCustomerAddressEntityDatetimes() {
		return this.customerAddressEntityDatetimes;
	}

	public void setCustomerAddressEntityDatetimes(
			Set customerAddressEntityDatetimes) {
		this.customerAddressEntityDatetimes = customerAddressEntityDatetimes;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getEavAttributeSets() {
		return this.eavAttributeSets;
	}

	public void setEavAttributeSets(Set eavAttributeSets) {
		this.eavAttributeSets = eavAttributeSets;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getCustomerEntityTexts() {
		return this.customerEntityTexts;
	}

	public void setCustomerEntityTexts(Set customerEntityTexts) {
		this.customerEntityTexts = customerEntityTexts;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getCustomerEntityDatetimes() {
		return this.customerEntityDatetimes;
	}

	public void setCustomerEntityDatetimes(Set customerEntityDatetimes) {
		this.customerEntityDatetimes = customerEntityDatetimes;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getCustomerEntityInts() {
		return this.customerEntityInts;
	}

	public void setCustomerEntityInts(Set customerEntityInts) {
		this.customerEntityInts = customerEntityInts;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getEavEntities() {
		return this.eavEntities;
	}

	public void setEavEntities(Set eavEntities) {
		this.eavEntities = eavEntities;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getCatalogProductEntities() {
		return this.catalogProductEntities;
	}

	public void setCatalogProductEntities(Set catalogProductEntities) {
		this.catalogProductEntities = catalogProductEntities;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getEavEntityDatetimes() {
		return this.eavEntityDatetimes;
	}

	public void setEavEntityDatetimes(Set eavEntityDatetimes) {
		this.eavEntityDatetimes = eavEntityDatetimes;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getCustomerAddressEntityInts() {
		return this.customerAddressEntityInts;
	}

	public void setCustomerAddressEntityInts(Set customerAddressEntityInts) {
		this.customerAddressEntityInts = customerAddressEntityInts;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getEavEntityTexts() {
		return this.eavEntityTexts;
	}

	public void setEavEntityTexts(Set eavEntityTexts) {
		this.eavEntityTexts = eavEntityTexts;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getCustomerEntityDecimals() {
		return this.customerEntityDecimals;
	}

	public void setCustomerEntityDecimals(Set customerEntityDecimals) {
		this.customerEntityDecimals = customerEntityDecimals;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getEavAttributes() {
		return this.eavAttributes;
	}

	public void setEavAttributes(Set eavAttributes) {
		this.eavAttributes = eavAttributes;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getEavEntityStores() {
		return this.eavEntityStores;
	}

	public void setEavEntityStores(Set eavEntityStores) {
		this.eavEntityStores = eavEntityStores;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getEavEntityVarchars() {
		return this.eavEntityVarchars;
	}

	public void setEavEntityVarchars(Set eavEntityVarchars) {
		this.eavEntityVarchars = eavEntityVarchars;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getCustomerAddressEntityVarchars() {
		return this.customerAddressEntityVarchars;
	}

	public void setCustomerAddressEntityVarchars(
			Set customerAddressEntityVarchars) {
		this.customerAddressEntityVarchars = customerAddressEntityVarchars;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getEavEntityInts() {
		return this.eavEntityInts;
	}

	public void setEavEntityInts(Set eavEntityInts) {
		this.eavEntityInts = eavEntityInts;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getCustomerAddressEntityDecimals() {
		return this.customerAddressEntityDecimals;
	}

	public void setCustomerAddressEntityDecimals(
			Set customerAddressEntityDecimals) {
		this.customerAddressEntityDecimals = customerAddressEntityDecimals;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "eavEntityType")
	public Set getCustomerAddressEntityTexts() {
		return this.customerAddressEntityTexts;
	}

	public void setCustomerAddressEntityTexts(Set customerAddressEntityTexts) {
		this.customerAddressEntityTexts = customerAddressEntityTexts;
	}

}
